import request from '@/utils/request'

const baseUrl = process.env.VUE_APP_BASE_API + '/recruitment'

export function insertRecruitment(data) {
  return request({
    url: `${baseUrl}`,
    method: 'post',
    data: data
  })
}

export function listRecruitment() {
  return request({
    url: `${baseUrl}`,
    method: 'get'
  })
}

export function deleteRecruitment(data) {
  return request({
    url: `${baseUrl}`,
    method: 'delete',
    params: data
  })
}
